package com.ysxsoft.wdg.bean.response;

import java.util.ArrayList;
import java.util.List;

public class DlLevelBean {


    /**
     * code : 200
     * ms : 成功
     * data : [{"levelid":1,"name":"省级代理","money":"10.00"},{"levelid":2,"name":"市级代理","money":"60.00"},{"levelid":3,"name":"县级代理","money":"90.00"}]
     */

    private String code;
    private String ms;
    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMs() {
        return ms;
    }

    public void setMs(String ms) {
        this.ms = ms;
    }

    public List<DataBean> getData() {
        if (data == null) {
            return new ArrayList<>();
        }
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * levelid : 1
         * name : 省级代理
         * money : 10.00
         */

        private String levelid;
        private String name;
        private String service;

        public String getLevelid() {
            return levelid;
        }

        public void setLevelid(String levelid) {
            this.levelid = levelid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getService() {
            return service == null ? "" : service;
        }

        public void setService(String service) {
            this.service = service;
        }
    }
}
